import requests

class UpdateFetcher:
    @staticmethod
    def fetch_updates(repo_url):
        response = requests.get(f"{repo_url}/commits")
        if response.status_code == 200:
            return response.json()
        return []
